//
//  UILabel+DFSize.h
//  FrameWork
//
//  Created by 王*风 on ****/5/9.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface UILabel (DFSize)

//获取宽度
+ (CGFloat)df_getTextWidthWithText:(NSString *)text height:(CGFloat)height font:(UIFont *)font;
+ (CGFloat)df_getTextWidthWithText:(NSString *)text height:(CGFloat)height fontSize:(CGFloat)fontSize;

//获取高度
+ (CGFloat)df_getTextHeightWithText:(NSString *)text width:(CGFloat)width font:(UIFont *)font;
+ (CGFloat)df_getTextHeightWithText:(NSString *)text width:(CGFloat)width fontSize:(CGFloat)fontSize;

//获取label行数
- (NSInteger)df_getlineCount:(CGSize)size fontSize:(CGFloat)fontSize;

@end

NS_ASSUME_NONNULL_END
